package com.wind.trademark.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MenuController {
	@RequestMapping("menu/enterLogin.do")
	public String enterLogin(){
		return "common/login";
	}
	
	@RequestMapping("menu/enterUserModule.do")
	public String enterUserModule(){
		return "src/user/queryUser";
	}
	@RequestMapping("menu/enterTaskModule.do")
	public String enterTaskModule(){
		return "src/role/queryTask";
	}
	@RequestMapping
	public String enterUploadPage(){
		return "upload/upload";
	}
	@RequestMapping
	public String enterUserPage(){
		return "redirect:/user/userform.do";
	}
	@RequestMapping
	public String enterMultiActionControllerPage(){
		return "redirect:/groupAdmin/anyword.do?method=create";
	}
	@RequestMapping
	public String enterValidatePage(){
		return "redirect:/validation/showValidatinForm.do";
	}
	@RequestMapping
	public String enterExceptionPage(){
		return "exception/exceptIndex";
	}
	@RequestMapping
	public String enterAJAXPage(){
		return "redirect:/account/getCreateForm.do";
	}
}
